#include <iostream>
#include <vector>

/*
 * Copyright (c) Huawei Technologies Co., Ltd. 2022-2022. All rights reserved.
 * Description: xxx
 * Author: l00650229
 * Create: 2022/11/16
 * Notes:
 */


struct NeIdPhyPort final {

    long neId = 0;

    int shelf = 0;
    int board = 0;
    int subCard = 0;
    int port = 0;

    NeIdPhyPort() = default;

    ~NeIdPhyPort() = default;

    NeIdPhyPort(long Neid, int Shelf, int Board, int Port, int SubCard = 0)
            : neId(Neid), shelf(Shelf), board(Board), port(Port), subCard(SubCard) {}

};

struct Test {
    int a = 0;
    int b = 0;
};

int main() {
    NeIdPhyPort port;
    std::vector<Test> tests;
    port = {1, 2, 3, 4};
    std::cout << port.neId << std::endl;

    Test test{1, 2};
    tests.emplace_back(Test{1, 2});
    return 0;
}